import bouns from "./iconImgs/bouns.png"
import dessert from "./iconImgs/dessert.png"
import drinks from "./iconImgs/drinks.png"
import longdistance from "./iconImgs/longdistance.png"
import wage from "./iconImgs/wage.png"
import block from "./iconImgs/block.png"

export default function Icon(props){
    let url="";
    if(props.type==="bouns"){
        url=bouns
    }else if(props.type==="dessert"){
        url=dessert

    }else if(props.type==="drinks"){
        url=drinks

    }else if(props.type==="longdistance"){
        url=longdistance

    }else if(props.type==="wage"){
        url=wage

    }else if(props.type==="block"){
        url=block

    }
    return <img src={url} style={{"width":"20px","height":"20px"}} alt=""></img>
}